//
//  AboutUs.m
//  DaoZiJinFu
//
//  Created by woker on 16/6/28.
//  Copyright © 2016年 iwoker. All rights reserved.
//

#import "AboutUs.h"

@interface AboutUs ()<UIWebViewDelegate>

@end

@implementation AboutUs

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupTitleView:@"关于我们"];
    self.view.backgroundColor = BACKGROUND_COLOR;
    [self leftButton:nil];
    
    UIWebView *web = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT)];
    [self.view addSubview:web];
    web.delegate = self;
    [web loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://ludaojinfu.com/appstatichtml/about.html"]]];
    JSVIEWSHOW;
}

- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error {
    JSVIEWHIDE;
    JSSHOW(LOAD_FAIL_TIP);
}

- (void)webViewDidFinishLoad:(UIWebView *)webView {
    JSVIEWHIDE;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];

}

@end
